.base {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-top: var(--aspect-ratio);
  overflow: hidden;
}

.base .child {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--cui-z-index-absolute);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
